package com.zzb.framework.event.common;

import com.zzb.framework.event.BaseEvent;
import com.zzb.framework.event.EventEnums;
import com.zzb.framework.role.entity.IUser;

/**
 * Created by zhangzhenbin on 18-1-17.
 */
public class DeleteEvent extends BaseEvent {
    private String object;
    private IUser user;

    public DeleteEvent(String object, IUser user) {
        this.object = object;
        this.user = user;
    }

    protected String getEventId() {
        return EventEnums.DELETE_EVENT.name();
    }

    public String getObject() {
        return object;
    }

    public void setObject(String object) {
        this.object = object;
    }

    public IUser getUser() {
        return user;
    }

    public void setUser(IUser user) {
        this.user = user;
    }

}
